import { _ } from "core-js";

const toFixed={
    numFilter:function (value) {
        // 截取当前数据到小数点后两位
        if(value == '' || value == null){
            return "0.00"
        }else if(isNaN(value)){
            return value
        }else if(!isNaN(value)){
            return value.toFixed(2)
        }
    }
}

export default toFixed